﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PreeRegisterModel
{
    public class ReportListRequestModel
    {
        /// <summary>
        /// 医院ID
        /// </summary>
        public string hospid { get; set; }

        /// <summary>
        /// pid
        /// </summary>
        public string pid { get; set; }
    }

    public class ReportListResponseModel
    {
        /// <summary>
        /// 医院ID
        /// </summary>
        public string hospid { get; set; }
        /// <summary>
        /// 医院名称
        /// </summary>
        public string hospname { get; set; }
        /// <summary>
        /// 科室ID
        /// </summary>
        public string deptid { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string deptname { get; set; }
        /// <summary>
        /// PID 
        /// </summary>
        public string pid { get; set; }
        /// <summary>
        /// 检验报告ID
        /// </summary>
        public string repid { get; set; }
        /// <summary>
        /// 报告单序号
        /// </summary>
        public string repnum { get; set; }
        /// <summary>
        /// 检验报告名称
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public string otime { get; set; }
        /// <summary>
        /// 医生姓名
        /// </summary>
        public string docname { get; set; }
        /// <summary>
        /// 检验报告时间
        /// </summary>
        public string time { get; set; }
        /// <summary>
        /// 标本类型
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 标本号
        /// </summary>
        public string typeid { get; set; }
    }

    public class ReportDetailRequestModel
    {
        /// <summary>
        /// 医院ID
        /// </summary>
        public string hospid { get; set; }

        /// <summary>
        /// 报告单号
        /// </summary>
        public string repid { get; set; }

        /// <summary>
        /// 报告单序号（预留）
        /// </summary>
        public string repnum { get; set; }
    }

    public class ReportDetailResponseModel
    {
        /// <summary>
        /// code
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// msg
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 医院ID
        /// </summary>
        public string hospid { get; set; }
        /// <summary>
        /// 报告单号
        /// </summary>
        public string repid { get; set; }
        /// <summary>
        /// 报告单序号（预留）
        /// </summary>
        public string repnum { get; set; }
        /// <summary>
        /// 医院名称
        /// </summary>
        public string hospname { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string deptname { get; set; }
        /// <summary>
        /// 医生姓名
        /// </summary>
        public string docname { get; set; }
        /// <summary>
        /// 报告时间
        /// </summary>
        public string time { get; set; }
        /// <summary>
        /// 标本类型
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 标本号
        /// </summary>
        public string typeid { get; set; }
        public List<ReportDetailResponseItemModel> item { get; set; }
    }

    public class ReportDetailResponseItemModel
    {
        /// <summary>
        /// 标题
        /// </summary>
        public ReportDetailResponseTitleModel title { get; set; }

        public List<ReportDetailResponseContentModel> content { get; set; }
    }

    public class ReportDetailResponseTitleModel
    {
        /// <summary>
        /// 代号
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 结果
        /// </summary>
        public string result { get; set; }
        /// <summary>
        /// 参考值
        /// </summary>
        public string rvalue { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unit { get; set; }
        /// <summary>
        /// 比较值（如：箭头，）
        /// </summary>
        public string dvalue { get; set; }
        /// <summary>
        /// 扩展1
        /// </summary>
        public string ext1 { get; set; }
        /// <summary>
        /// 扩展2
        /// </summary>
        public string ext2 { get; set; }
    }

    public class ReportDetailResponseContentModel
    {
        /// <summary>
        /// 代号
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 结果
        /// </summary>
        public string result { get; set; }
        /// <summary>
        /// 参考值
        /// </summary>
        public string rvalue { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unit { get; set; }
        /// <summary>
        /// 比较值（如：箭头，）
        /// </summary>
        public string dvalue { get; set; }
        /// <summary>
        /// 扩展1
        /// </summary>
        public string ext1 { get; set; }
        /// <summary>
        /// 扩展2
        /// </summary>
        public string ext2 { get; set; }
    }
}
